import java.util.Scanner;
//打印x图案
public class Test2 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int a=scanner.nextInt();
        scanner.close();
        for (int i = 0; i <a ; i++) {
            for (int j = 0; j <a ; j++) {
                if(i==j){
                    System.out.print("*");
                }else if (i+j==a-1){
                    System.out.print("*");
                }else {
                    System.out.print(" ");
                }
            }
            System.out.println();
        }
    }
}
